package com.gxa.entity.points;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yjl
 * @since 2022-10-12 11:37:05
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_gift")
@ApiModel(value = "Gift对象", description = "")
public class Gift implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("编号，礼品表主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("礼品名称 ")
    @TableField("gift_name")
    private String giftName;

    @ApiModelProperty("礼品图片 ")
    @TableField("gift_pic")
    private String giftPic;

    @ApiModelProperty("兑换积分 ")
    @TableField("redeem")
    private Integer redeem;

    @ApiModelProperty("礼品库存 ")
    @TableField("gift_inventory")
    private Integer giftInventory;

    @ApiModelProperty("状态 1已上架 2已下架 ")
    @TableField("gift_status")
    private Integer giftStatus;

    @ApiModelProperty("0 正常 1为删除")
    @TableField("is_delete")
    @TableLogic
    private Integer isDelete;


}
